| Previous | Chapter contents | Chapter top | Section top | Next |
You can use the QTVRBeginUpdateStream function to begin a stream of immediate updates to a QuickTime VR movie.
OSErr QTVRBeginUpdateStream (
QTVRInstance qtvr,
QTVRImagingModeimagingMode);
The QTVRBeginUpdateStream function configures the QuickTime VR movie specified by the qtvr parameter for a stream of immediate updates to its movie image. After calling QTVRBeginUpdateStream , you perform the updates by calling QTVRUpdate . When you are finished performing the updates, call QTVREndUpdateStream . Issuing a stream of image updates in this manner is significantly faster than simply calling QTVRUpdate repeatedly (that is, not within a begin/end update sequence).
Each call to QTVRBeginUpdateStream must be balanced by a call to QTVREndUpdateStream , but you can nest these calls.
After you call QTVRBeginUpdateStream and before you call QTVREndUpdateStream , you must not change any of the QuickTime VR movie's imaging properties.
Calling QTVRBeginUpdateStream locks down large blocks of memory. As a result, you should minimize the amount of time before calling QTVREndUpdateStream .
Use QTVREndUpdateStream (next) to end a stream of immediate updates to a QuickTime VR movie.
| Previous | Chapter contents | Chapter top | Section top | Next |